package org.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.example.domain.po.ErpDepot;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 14120
* @description 针对表【erp_depot(仓库表)】的数据库操作Service
* @createDate 2024-11-04 15:14:29
*/
public interface ErpDepotService extends IService<ErpDepot> {
    List<ErpDepot> selectByExample();

    Page<ErpDepot> findByPage(Page<ErpDepot> page, String name, String remark, Long tenantId);

    boolean modifyTheState(List<Integer> ids, String status);

    boolean SetDefault(Integer id);
    
    List<ErpDepot> findDepotByTenantId(Long tenantId);

}
